package com.sinosoft.cloud.access.net;

import io.netty.channel.Channel;
import io.netty.channel.ChannelInitializer;

/**
 * cloud-netty
 *
 * @title: cloud-netty
 * @package: com.sinosoft.cloud.access.net
 * @author: yangming
 * @date: 2017/12/2 下午2:52
 */
public abstract class AbstractAccessInitializer extends ChannelInitializer<Channel> implements Access {

    private String accessName = null;
    private Integer port = null;

    @Override
    public String getAccessName() {
        return accessName;
    }

    @Override
    public void setAccessName(String accessName) {
        this.accessName = accessName;
    }

    @Override
    public Integer getPort() {
        return port;
    }

    @Override
    public void setPort(Integer port) {
        this.port = port;
    }
}
